<?php

include_once("../model/Model.php");


$c=$_POST['cid'];
$model = new Model();
$ans = $model->getmusic($c);
 					foreach($ans as $row)
                                {
                                 ?>  
                         <table border="0">
                         	<tr>
								
                                    <td>
                                    	<table border="0" id="wv_tble" style="font-size:10px">
                                        	<tr>
                                                <td><img src="view/images/musicicon.PNG" height="52" width="52" /></td>
                                                <td><?php echo $row['url']; ?></td>
                                            </tr>
                                            <tr><td colspan="2"><b><?php echo $row['url']; ?></b></td></tr>
                                            <tr>
                                                <td><img src="view/img/vault_icons/32/like.png" height="28" width="28" style="border-right:1px solid #ccc;" />&nbsp;<?php echo $row['likes']; ?></td>
                                                <td align="right"><img src="view/img/vault_icons/32/dislike.png" height="28" width="28" style="border-right:1px solid #ccc;"/>&nbsp;<?php echo $row['dislikes']; ?></td>
                                            </tr>
                                            <tr>
                                                <td>Plays 10,120,12</td>
                                                <td align="right"><img src="view/img/vault_icons/16/download.png" height="15" width="15" /><img src="view/img/vault_icons/16/settings.png" height="15" width="15" /><img src="view/img/vault_icons/16/flag.png" height="15" width="15" /></td>
                                            </tr>
                                        </table>
                                    </td>
                                     
                             </tr>
                         </table>
                         <br/>
						 <?php 
						 }
	
						?>
